package com.itheima.mapper;

import com.itheima.pojo.EmpLoginLog;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

/**
 * @Author：cxl
 * @Package：com.itheima.mapp
 * @Project：web-project
 * @name：EmpLoginLogMapper
 * @Date：2025/10/7 21:41
 * @Filename：EmpLoginLogMapper
 */
@Mapper
public interface EmpLoginLogMapper {
    @Insert("insert into emp_login_log(id, username, password, login_time, is_success, jwt, cost_time)" +
            " VALUES (#{id}, #{username}, #{password}, #{loginTime}, #{isSuccess}, #{jwt}, #{costTime})")
    void insert(EmpLoginLog empLoginLog);
}
